package com.redhat.auth.log.common;

import com.redhat.auth.log.annotation.QueryValueType;

public class QueryValueBean {

	/**
	 * 查询KEY值
	 * @return
	 */
	public String key;
	
	/**
	 * 查询QueryValueType，从哪查询
	 * @return
	 */
	public QueryValueType queryValueType;
	
	/**
	 * 值表达式
	 * @return
	 */
	public String expr;

	
	
	public QueryValueBean(String key, QueryValueType queryValueType, String expr) {
		super();
		this.key = key;
		this.queryValueType = queryValueType;
		this.expr = expr;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public QueryValueType getQueryValueType() {
		return queryValueType;
	}

	public void setQueryValueType(QueryValueType queryValueType) {
		this.queryValueType = queryValueType;
	}

	public String getExpr() {
		return expr;
	}

	public void setExpr(String expr) {
		this.expr = expr;
	}
}
